package org.vaadin.nf4v.core.handler;

import com.vaadin.ui.Component;
import org.vaadin.nf4v.core.navigation.target.NavigationTarget;

/**
 * Creates page instance.
 * <p/>
 * OVERRIDING: may be overridden for context or page
 */
public interface PageFactory extends Handler {

    /**
     * @param target navigation target
     * @return page instance
     */
    Component createPage(NavigationTarget target);
}
